diff options
| author | Adam Soltys <[email protected]> | 2024-09-06 09:32:53 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-09-17 09:18:36 -0700 |
| commit | 1b7cc6d64fb2ee3340a18d0924c4b64afabbc1e1 (patch) | |
| tree | 4498405ef5555a6680b36e9628806f497ec0f561 /src/routes/(app)/[username]/(profile) | |
| parent | c5ef18aec5de023732eb6b86f768f206462fea93 (diff) | |
| download | coinos-ui-1b7cc6d64fb2ee3340a18d0924c4b64afabbc1e1.tar.gz coinos-ui-1b7cc6d64fb2ee3340a18d0924c4b64afabbc1e1.zip | |
per account payment pages
Diffstat (limited to 'src/routes/(app)/[username]/(profile)')
| -rw-r--r-- | src/routes/(app)/[username]/(profile)/+page.svelte | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/routes/(app)/[username]/(profile)/+page.svelte b/src/routes/(app)/[username]/(profile)/+page.svelte index afb4e58c..7c0de9d8 100644 --- a/src/routes/(app)/[username]/(profile)/+page.svelte +++ b/src/routes/(app)/[username]/(profile)/+page.svelte @@ -23,11 +23,11 @@ $installPrompt = null; }; - user.savings = 0; + if (user) user.savings = 0; let accounts = [ { balance: user.balance, setup: true, type: "Cash" }, - { balance: user.savings, setup: false, type: "Savings" }, + { id: "pubtest", balance: user.savings, setup: !!user.seed, type: "Savings" }, ]; </script> |
